package com.bluefish.bltuan.dao;

import java.util.List;

import com.bluefish.bltuan.module.Category;
import com.bluefish.bltuan.util.PageIndex;

public interface CategoryDao extends AbstractDao<Category, Integer> {

	List<Category> getCategoryByType(int type);
	
	Category getParentByType(int type);

	List<Category> getStartedCategoryByType(int type);

	List<Category> list(PageIndex pageIndex, int type);

	List<Category> listByCityName(String cityName);

	List<Category> listByCityNickName(String nickname);
}
